home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / misc / CPU112.lha / CPU-Control.doc < prev    next >
Text File  |  1995-04-18  |  12KB  |  261 lines

  1. --------------------------------------------------------------------------
  2.                        CPU-Control 1.12 (18-Apr-95)
  3. --------------------------------------------------------------------------
  4.  
  5. CPU-Control  is  a  CPU-like utility for Kickstart/WB 2.0 including a GUI.
  6. The  main  difference  to  other  tools  of this kind is, that CPU-Control
  7. recognizes  external  changes  of  any of its parameters.  Because of this
  8. special  feature it needs some CPU-Time (not much), but in iconified state
  9. it needs no processor time at all.  Additionally CPU-Control allows moving
  10. VBR  (VectorBaseRegister)  to  Fast-RAM, which significantly speeds up all
  11. Traps/Interupts.   Many  CLI  Options have been included to allow usage in
  12. scripts,  so it's a good idea to put "CPU-Control vbr nw" in your Startup-
  13. Sequence.
  14.  
  15. --------------------------------------------------------------------------
  16.                                Requirements
  17. --------------------------------------------------------------------------
  18.  
  19. Amiga-OS 2.04 or higher is required to run CPU-Control.
  20.  
  21. --------------------------------------------------------------------------
  22.                                 CLI Usage
  23. --------------------------------------------------------------------------
  24.  
  25. Parameter      Shortform     Effect                             CPU needed
  26. --------------------------------------------------------------------------
  27. (none)                       just starts CPU-Control
  28. ICACHE            I          enable  Instruction Cache            68020+
  29. NOICACHE          NI         disable Instruction Cache            68020+
  30. DCACHE            D          enable  Data Cache                   68030+
  31. NODCACHE          ND         disable Data Cache                   68030+
  32. IBURST            IB         enable  Instruction Burst            68030
  33. NOIBURST          NIB        disable Instruction Burst            68030
  34. DBURST            DB         enable  Data Burst                   68030
  35. NODBURST          NDB        disable Data Burst                   68030
  36. VBR                          move VBR to FastRAM                  68010+
  37. NOVBR                        normal VBR (Zero)                    68010+
  38. COPYBACK          CB         enable  Copyback                     68040
  39. NOCOPYBACK        NCB        disable Copyback                     68040
  40. MMU                          enable  FastROM/SafeKick        | 68020/851 |
  41. NOMMU                        disable FastROM/SafeKick        |  or 68030 |
  42. MOVESSP           SSP        move SSP to FastRAM
  43. VERBOSE           V          Verbose output
  44. CHECK                        check for a specified processor
  45.                              (68010/68020/68030/68040/68881/68882/FPU/MMU)
  46. ICONIFY           IC         starts iconified
  47. NOWIN             NW         starts without GUI
  48. SYSTEMINFO        SI         displays some information about your system
  49. CCI                          Chip-Cache-Inhibit (see update notes)
  50.  
  51. Example: CPU-Control I D IB NDB VBR SSP MMU V NW
  52.  
  53.          enables all Caches,  enables IBurst,  disables DBurst,  moves VBR
  54.          and SSP  to FastMem,  enables the MMU  (FastROM or SafeKick)  and
  55.          prints the new status verbosely without opening the GUI.
  56.  
  57. Owners  of a Commodore A2x86 bridgeboard should use the following lines in
  58. their startup-sequence AFTER activating their MMU:
  59.  
  60.          ...
  61.          PCInhibit030
  62.          BindDrivers
  63.          ...
  64.  
  65. This sets CacheInhibit for Janus memory areas, so that there is no need to
  66. disable  the DataCache.  This is not neccesary if the MMU has been enabled
  67. by CPU-Control.
  68.  
  69. --------------------------------------------------------------------------
  70.                               Technical Info
  71. --------------------------------------------------------------------------
  72.  
  73. CPU-Control  has been developed using HiSoft's wonderful DevPac 3.14.  The
  74. GUI  was  designed using  GadToolsBox 1.3, but the code was so bad, that I
  75. decided to rewrite it.
  76.  
  77. All  cache  manipulations are done using Exec's CacheControl, VBR movement
  78. is  done  by  allocating  1024 Bytes of memory using AllocMem, copying the
  79. area,  and then setting the VBR register to the new value.  Enforcer would
  80. complain  about  this,  but you can simply ignore it.  Just for safety the
  81. routine  in  embedded  in Forbid/Permit, and Caches are cleared via Exec's
  82. CacheClearU.
  83.  
  84. The  MMU  option automagically selects FastROM-mode for ROM-Kickstarts and
  85. SafeKick-mode  for  Kickstarts loaded by ZKick/LKick/ReKick ($200000).  It
  86. is  NOT compatible to the WB-2.0 "CPU" command, because the MMU-Table used
  87. is  much  more  efficient,  and in addition to "CPU" it write-protects the
  88. RAM-image.    Alien-MMU-Activations   make   the   "Safe/Fast  OS"  gadget
  89. unavailable,  and  the  Verbose CLI mode will show up "(MMU)", which means
  90. the  MMU  is  active  but incompatible to CPU-Control.  And again:  Ignore
  91. Enforcer!  A BusError-Handler makes the RAM-image behave like a real ROM.
  92.  
  93. 68020's without MMU (68851) and 68EC030 (68030-Light) should be recognized
  94. correctly.
  95.  
  96. While the full GUI is open, CPU-Control uses a Delay/GT_GetIMsg loop to be
  97. able to recognize changes of the Cache/VBR. In iconified (zoomed) state it
  98. uses Exec's Wait without using any processor time.
  99.  
  100. The MOVESSP option should only be used in Startup-Sequences, because it is
  101. a  quite  dangerous  operation.   SSP will only be moved, if there is REAL
  102. FastRAM  available and SSP is currently in SlowRAM.  This operation is not
  103. reversible.
  104.  
  105. --------------------------------------------------------------------------
  106.                                  History
  107. --------------------------------------------------------------------------
  108.  
  109. 1.0     -       initial release:  8-May-92
  110.  
  111. 1.1     -       release date:    13-May-92
  112.  
  113.                 - many serious bugs (hopefully) fixed
  114.                 - overall code optimisation
  115.                 - added 68020/851 and 68030 MMU support
  116.                 - added "ICONIFY" option
  117.  
  118. 1.2     -       release date:    14-May-92
  119.  
  120.                 - added CHECK option to test for a specified processor
  121.                   Example: CPU-Control check 68030
  122.                            will produce an ErrorCode 5 if not found
  123.                   CHECK always activates the NOWIN option
  124.                 - cleaned-up menu layout
  125.  
  126. 1.3     -       release date:    16-May-92
  127.  
  128.                 - added MOVESSP option to allow moving the Supervisor
  129.                   Stackpointer to fast memory
  130.                 - CLI mode (especially CHECK) can now be used on 68000
  131.                 - minor code cleanup
  132.  
  133. 1.3a    -       release date:     7-Jul-92
  134.  
  135.                 - Cache-Inhibit for ChipRAM is no longer set automatically
  136.                   because every well-behaving hardware (including A3000
  137.                   and A2620/30 Turboboards) does this already.
  138.                   In addition operation in ChipRAM is slightly faster now,
  139.                   because the hardwired solution effects Datacache only.
  140.                   In case of trouble the CCI option (CLI only!) could be
  141.                   used to enable Cache-Inhibit. Of course this option is
  142.                   only useful if used together with the MMU option.
  143.  
  144. 1.4     -       release date:    16-Jul-92
  145.  
  146.                 - implemented support for PC/AT-Bridgeboards
  147.                   Cache-Inhibit for Dual-Ported-RAM will be set as soon
  148.                   as the MMU becomes active (SafeKick or FastROM)
  149.                 - implemented SystemInfo (Menu or CLI-Option "SI")
  150.                   The short delay when measuring the MIPS performance is
  151.                   quite normal, so don't worry about it!
  152.                 - more Menu-Shortcuts available (just have a look...)
  153.                 - minor code cleanup
  154.  
  155. 1.5             release date:    21-Jul-92
  156.  
  157.                 - CPU-Control is Font-Sensitive now!
  158.                 - replaced "CPU: ..... FPU: ....." text by "System Info"
  159.                   gadget
  160.  
  161. 1.5a            release date:    17-Sep-92
  162.  
  163.                 - Oh dear... Cache-Inhibit for Bridgeboards did not work!
  164.  
  165. 1.6             release date:    27-Oct-92
  166.  
  167.                 - FastROM and SafeKick works with 68040 now (hopefully!).
  168.                   Address-Space is currently truncated to 64MB in order
  169.                   to keep translation tables short and fast.
  170.                 - improved MMU-switching routines
  171.  
  172. 1.7             release date:    13-Mar-93
  173.  
  174.                 - GUI is now fully OS-3.x compatible (Menus, BusyPointer)
  175.                 - AA Chipset is recognized now
  176.                 - minor code cleanup
  177.  
  178. 1.8             release date:     4-Apr-93
  179.  
  180.                 - 040 CopyBack switching behaves exactly like the CPU
  181.                   command now.
  182.                 - fixed MMU routines for A4000/40.
  183.                   active MMU (after SetPatch) will be displayed as ALIEN,
  184.                   inactive MMU will be displayed as PRIVATE.
  185.                   MMU usage is forbidden, and would be useless anyway.
  186.  
  187. 1.9             release date:    25-May-93
  188.  
  189.                 - overall code cleanup
  190.                 - added MFLOPS calculation to System Info
  191.                 - display method for active Kickstart version is 100%
  192.                   clean now
  193.  
  194.                 BTW: MIPS and MFLOPS are no absolute values, but they
  195.                      can be helpful to compare systems using the SAME
  196.                      test software.
  197.  
  198. 1.10            release date:    12-Mar-95
  199.  
  200.                 - fixed small bug in MIPS/MFLOPS display routines
  201.                 - FastROM and SafeKick support for 68040 removed
  202.                 - removed internal ColdReboot patch, replaced by external
  203.                   RebootPatch program, which works perfectly with all MMUs
  204.                 - added external PatchExcept program to fix a serious bug
  205.                   in Kickstarts guru routines
  206.                 - includes source files for RebootPatch and PatchExcept
  207.  
  208. 1.11            release date:    17-Apr-95
  209.  
  210.                 - some more code cleanup
  211.                 - included PCInhibit030 to switch CacheInhibit for C=
  212.                   A2x86 Bridgeboards. The MMU must be already active.
  213.                   This should work with MMU tables from CPU-Control,
  214.                   CPU (FastROM), SoftBoot (A3000) and A3000 Kickstart.
  215.                   Simply call this command BEFORE BindDrivers.
  216.  
  217. 1.12            release date:    18-Apr-95
  218.  
  219.                 - improved Bridgeboard recognition, so PCInhibit030
  220.                   is not needed if the MMU has been enabled by 
  221.                   CPU-Control.
  222.  
  223.  
  224.                 ATTENTION: If the main progamm file doesn't have a length
  225.                            of 7976 Bytes it is DAMAGED!
  226.  
  227. --------------------------------------------------------------------------
  228.                                 Shareware
  229. --------------------------------------------------------------------------
  230.  
  231.                          CPU-Control is SHAREWARE!
  232.  
  233.         If you use this program for a longer period than one week,
  234.             please send me a donation of 10 US$ or equivalent!
  235.  
  236.                       So if you want more tools like
  237.                 CPU-Control, TagScreens, UnArp and Safekick
  238.               think about it and keep developers developing.
  239.  
  240.                                 THANK YOU!
  241.  
  242.  
  243.                       Registered-User-Counter: 00056
  244.  
  245. --------------------------------------------------------------------------
  246.                                   Author
  247. --------------------------------------------------------------------------
  248.  
  249.                   Send bug-reports and/or suggestions to:
  250.  
  251.                                Martin Berndt
  252.                             Fr.-Alfred-Str. 115
  253.                               47226 Duisburg
  254.                                   Germany
  255.  
  256.                      E-Mail: m_berndt@wanderer.gun.de
  257.  
  258. --------------------------------------------------------------------------
  259.  
  260. (End of this wonderful document)
  261.